package edu.sctu.zhangwang.month201505.day20150504;

/**
 * Created by user10 on 2015/5/4.
 */
public class Student1 {

    public String name;
    public int age;
    public int heavy;

    public Student1(String name,int age,int heavy){
        this.name = name;
        this.age = age;
        this.heavy = heavy;
    }

    public void outStudent(){
        System.out.println(name);
        System.out.println(age);
        System.out.println(heavy);
    }
    public void finalStudent(int x){
        age = age - x;
        System.out.println(age);
    }
}
